package com.huarui.task.model;

import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;

/**
 * 任务处理过程
 * @author ycf
 *
 */
public class TaskDetail extends BaseDataObject {
	
	private static final long serialVersionUID = -1087569175510880604L;
	
	public TaskDetail(){}
	

	public TaskDetail(Integer id, Integer taskId, Integer previouseId,
			Integer sequence, String remark, Integer actionCompanyId,
			String actionCompanyName, Integer actorId, String actorName,
			Integer initStatusId, Integer initStatus, String initStatusName,
			Integer endStatusId, Integer endStatus, String endStatusName,
			Date gmtAction, Integer actionId, String actionName) {
		super();
		this.id = id;
		this.taskId = taskId;
		this.previouseId = previouseId;
		this.sequence = sequence;
		this.remark = remark;
		this.actionCompanyId = actionCompanyId;
		this.actionCompanyName = actionCompanyName;
		this.actorId = actorId;
		this.actorName = actorName;
		this.initStatusId = initStatusId;
		this.initStatus = initStatus;
		this.initStatusName = initStatusName;
		this.endStatusId = endStatusId;
		this.endStatus = endStatus;
		this.endStatusName = endStatusName;
		this.gmtAction = gmtAction;
		this.actionId = actionId;
		this.actionName = actionName;
	}




	/**
	 * 主键 (任务过程ID)
	 */
	private Integer id;
	/**
	 * 任务ID
	 */
	private Integer taskId;
	/**
	 * 前一过程ID
	 */
	private Integer previouseId;
	/**
	 * 过程的顺序号
	 */
	private Integer sequence;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 执行公司ID
	 */
	private Integer actionCompanyId;
	/**
	 * 执行公司名称
	 */
	private String actionCompanyName;
	/**
	 * 执行人ID
	 */
	private Integer actorId;
	/**
	 * 执行人姓名
	 */
	private String actorName;
	/**
	 * 开始状态ID
	 */
	private Integer initStatusId;
	/**
	 * 开始状态值
	 */
	private Integer initStatus;
	/**
	 * 开始状态名称
	 */
	private String initStatusName;
	/**
	 * 结束状态ID
	 */
	private Integer endStatusId;
	/**
	 * 结束状态值
	 */
	private Integer endStatus;
	/**
	 * 结束状态名称
	 */
	private String endStatusName;
	/**
	 * 执行时间
	 */
	private Date gmtAction;
	
	private Integer actionId;
	
	private String actionName;
	
	@Override
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getTaskId() {
		return taskId;
	}
	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}
	public Integer getPreviouseId() {
		return previouseId;
	}
	public void setPreviouseId(Integer previouseId) {
		this.previouseId = previouseId;
	}
	public Integer getSequence() {
		return sequence;
	}
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getActionCompanyId() {
		return actionCompanyId;
	}
	public void setActionCompanyId(Integer actionCompanyId) {
		this.actionCompanyId = actionCompanyId;
	}
	public String getActionCompanyName() {
		return actionCompanyName;
	}
	public void setActionCompanyName(String actionCompanyName) {
		this.actionCompanyName = actionCompanyName;
	}
	public Integer getActorId() {
		return actorId;
	}
	public void setActorId(Integer actorId) {
		this.actorId = actorId;
	}
	public String getActorName() {
		return actorName;
	}
	public void setActorName(String actorName) {
		this.actorName = actorName;
	}

	public Integer getInitStatusId() {
		return initStatusId;
	}
	public void setInitStatusId(Integer initStatusId) {
		this.initStatusId = initStatusId;
	}
	public Integer getInitStatus() {
		return initStatus;
	}
	public void setInitStatus(Integer initStatus) {
		this.initStatus = initStatus;
	}
	public String getInitStatusName() {
		return initStatusName;
	}
	public void setInitStatusName(String initStatusName) {
		this.initStatusName = initStatusName;
	}

	public Integer getEndStatusId() {
		return endStatusId;
	}
	public void setEndStatusId(Integer endStatusId) {
		this.endStatusId = endStatusId;
	}
	public Integer getEndStatus() {
		return endStatus;
	}
	public void setEndStatus(Integer endStatus) {
		this.endStatus = endStatus;
	}
	public String getEndStatusName() {
		return endStatusName;
	}
	public void setEndStatusName(String endStatusName) {
		this.endStatusName = endStatusName;
	}
	public Date getGmtAction() {
		return gmtAction;
	}
	public void setGmtAction(Date gmtAction) {
		this.gmtAction = gmtAction;
	}


	public Integer getActionId() {
		return actionId;
	}


	public void setActionId(Integer actionId) {
		this.actionId = actionId;
	}


	public String getActionName() {
		return actionName;
	}


	public void setActionName(String actionName) {
		this.actionName = actionName;
	}
	
}
